Release 10.1A: OpenEdge Development:
Progress 4GL Reference
DYNAMIC-FUNCTION function
Invokes a user-defined function. Progress evaluates the name of the function (and the procedure handle, if any) at run time.
Syntax
function-nameA CHARACTER expression that returns the name of a user-defined function. Progress evaluates
function-nameat run time.INproc-handleAn expression that returns a handle to the procedure that defines the function. Progress evaluates
proc-handleat run time.param1, param2, ...Parameters of the user-defined function. You must supply names of actual data items—actual parameter names—not CHARACTER expressions that return parameter names.
Note: Progress cannot check the mode and type of the parameters at compile time, since Progress does not evaluatefunction-nameuntil run time. ExampleThe following procedure demonstrates the DYNAMIC-FUNCTION function:
See also
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |